package com.ruoyi.system.service.front;


import com.ruoyi.system.domain.StudentInfo;
import com.ruoyi.system.domain.front.*;

import java.util.List;

public interface ISafetyExaminationFrontService {
    /**
     * 查询考试基本信息
     *
     * @return 考试基本信息
     */
    public SafetyExaminationFrontInfo selectexaminationinfo(StudentInfo studentInfo);

    /**
     * 查询学生考试题目和统计记录
     *
     * @param frontUserInfo 查询信息
     * @return ExaminationFrontContent
     */
    public ExaminationFrontContent selectExaminationFrontContent(FrontUserInfo frontUserInfo);

    /**
     * 查询学生考试记录
     *
     * @param frontUserInfo 查询信息
     * @return String
     */
    public String selectStudentExaminationRecord(FrontUserInfo frontUserInfo);

    /**
     * 考试保存
     *
     * @param frontUserInfo 题目信息
     * @return int
     */
    public int saveExamination(FrontUserInfo frontUserInfo);

    /**
     * 学生成绩统计
     *
     * @param frontUserInfo 学生信息
     * @return int
     */
    public ExaminationFrontResult selectExaminationFrontResult(FrontUserInfo frontUserInfo);

    /**
     * 抽奖
     *
     * @param frontUserInfo 抽奖信息
     * @return 奖品号
     */
    public ExaminationFrontPrize luckDraw(FrontUserInfo frontUserInfo);
}
